UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Docker Enterprise /etc/default/docker file ownership must be set to root:root.


Overview

Finding ID Version Rule ID IA Controls Severity
V-95775 DKER-EE-005350 SV-104913r1_rule High
Description
Verify that the /etc/default/docker file ownership and group-ownership is correctly set to root. /etc/default/docker file contains sensitive parameters that may alter the behavior of docker daemon. Hence, it should be owned and group-owned by root to maintain the integrity of the file. This file may not be present on the system. In that case, this recommendation is not applicable.
STIG Date
Docker Enterprise 2.x Linux/UNIX Security Technical Implementation Guide 2019-09-13

Details

Check Text ( C-94605r1_chk )
This requirement applies to Ubuntu Linux systems only.

Ensure that /etc/default/docker file ownership is set to root:root.

Execute the below command to verify that the file is owned and group-owned by root:

stat -c %U:%G /etc/default/docker

If file ownership it not set to root:root, this is a finding.
Fix Text (F-101443r1_fix)
Set the ownership and group-ownership for the file to root.

Run the following command:
chown root:root /etc/default/docker